<?php

namespace App\Recharge\Bean;

class FuluUnitPriceBean extends \App\Basic\Bean
{
    /**
     * @var string|float
     */
    protected string|float $unitPrice;

    /**
     * @var array
     */
    protected array $response = [];

    /**
     * @var bool
     */
    protected bool $result = false;

    /**
     * @var string
     */
    protected string $errMessage = '';

    /**
     * @return float|string
     */
    public function getUnitPrice(): float|string
    {
        return $this->unitPrice;
    }

    /**
     * @param float|string $unitPrice
     */
    public function setUnitPrice(float|string $unitPrice): void
    {
        $this->unitPrice = $unitPrice;
    }


    /**
     * @return array
     */
    public function getResponse(): array
    {
        return $this->response;
    }

    /**
     * @param array $response
     */
    public function setResponse(array $response): void
    {
        $this->response = $response;
    }

    /**
     * @return bool
     */
    public function isResult(): bool
    {
        return $this->result;
    }

    /**
     * @param bool $result
     */
    public function setResult(bool $result): void
    {
        $this->result = $result;
    }

    /**
     * @return string
     */
    public function getErrMessage(): string
    {
        return $this->errMessage;
    }

    /**
     * @param string $errMessage
     */
    public function setErrMessage(string $errMessage): void
    {
        $this->errMessage = $errMessage;
    }


}
